#!/usr/bin/env bash
v=$1
if [[ "$v" == '' ]]; then
  echo "empty version"
  exit 1;
fi
docker tag organizer_organizer:latest zzctmac/organizer:"$v"

docker push zzctmac/organizer:"$v"

echo "$v" >> version.list

echo "ok"